from celery import Celery
from . import config

app = Celery("ops")

app.config_from_object(config)

# celery 自动发现服务, packages List()
app.autodiscover_tasks([".tasks.send_email"])